package org.linlinjava.litemall.admin.vo.shop;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/20 16:31
 */
public class GloudWarehouseAddCommodityVo {

    @Size(min = 1,message = "商品不能为空")
    private List<Long> commodityId;

    @NotNull(message = "云仓id不能为空")
    private Integer warehouseId;

    public List<Long> getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(List<Long> commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }
}
